import request from '@/utils/request'

export const api_login = data => {
  return request({
    url: '/authorizations',
    method: 'POST',
    data
  })
}

export const api_getUserInfo = () => {
  return request({
    url: '/user/profile'
  })
}
